//
//  CZNsjHelper.h
//  nsj_iOS
//
//  Created by apple on 2017/1/6.
//  Copyright © 2017年 GCZ. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CZNavigationController;
@class CZUserLoginViewController;
@interface CZNsjHelper : NSObject
+ (void)sendUUID;
+ (void)sendUUIDWithUserID:(NSString *)userID;
+ (void)SetTopcornerRadius:(UIView*)view;
+ (void)SetBottomcornerRadius:(UIView*)view;
+ (void)setUserInfo:(UINavigationController *)navigationVC dataDic:(NSDictionary *)dataDic;
+ (CZNavigationController *)createLoginViewController;
- (CZUserLoginViewController *)presentLoginViewControllerWithViewCotroller:(UIViewController *)viewController;
- (void)connectOSS;
- (void)uploadObjectSyncWithObjectKey:(NSString *)objectKey fileData:(NSData *)fileData successStatus:(NSString *)successStatus errorStatus:(NSString *)errorStatus completion:(void (^)(NSString *  urlString))completion;
- (void)uploadObjectSyncWithObjectKey:(NSString *)objectKey fileData:(NSData *)fileData successStatus:(NSString *)successStatus errorStatus:(NSString *)errorStatus completion:(void (^)(NSString *  urlString))completion fail:(void(^)())failHandler;
/* 上传视频 */
- (void)uploadVideoAsyncWithObjectKey:(NSString *)objectKey fileData:(NSData *)fileData completion:(void (^)(NSString *  urlString))completion fail:(void(^)())failHandler;

@end
